const pagination = ( data, pageSize, pageNum ) => data.slice( pageSize * ( pageNum - 1 ), pageSize * pageNum )

module.exports = pagination;